package cci.demo;

import javax.faces.bean.ManagedBean;

@ManagedBean
public class MonBean {
	
	private String login ;
	private String password ;
	private Double montant ;
	
	public synchronized String getLogin() {
		return login;
	}
	
	public synchronized void setLogin(String login) {
		this.login = login.trim();
	}
	
	public synchronized String getPassword() {
		return password;
	}
	
	public synchronized void setPassword(String password) {
		this.password = password.trim();
	}
	
	public synchronized Double getMontant() {
		return montant;
	}

	public synchronized void setMontant(Double montant) {
		this.montant = montant;
	}

	public String envoyer() {
		// doBusinessLogicForValidData();
		return ("resultat");
	}
	
}
